<?php
	class BossMain extends Controller {
		function __construct() {
			parent::__construct();
			Auth::handleLogin();
	        $this->view->js = array('bossmain/js/default.js');
		}
		function index() {
			$this->view->render("bossmain/index");
		}
		function logout()
	    {
	        Session::destroy();
	        header('location: ' . URL .  'login');
	        exit;
	    }
		
		function generateReport() {
			$this->model->generateReport();
		}
		
	}
